package com.blockmeta.bbs.immodule.net.api;

import com.blockmeta.bbs.businesslibrary.net.pojo.BaseImResponse;
import com.blockmeta.bbs.immodule.bean.UserAllInfo;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author AirThor
 * @date 2019/3/26.
 */
public interface GetUserAllInfoApi {
    /**
     * 获取用户详情数据，文章、评论、粉丝等
     * @param myId uid
     * @param userId 对方uid
     * @return
     */
    @GET("im/user")
    Flowable<BaseImResponse<UserAllInfo>> getUserAllInfo(@Query("userId") String userId, @Query("myId") String myId);
}
